<template>
  <div>
    <el-form :model="supplyAddress" ref="supplyAddress"  label-width="100px">
        <el-row>
          <el-col :span="12">
            <el-form-item label="图片凭证">
              <el-image :z-index="zIndex" :preview-src-list="[supplyAddress.proofImages]"
                :src="supplyAddress.proofImages"  style="width: 80px;height: 80px;margin-left: 10px">
              </el-image>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="凭证描述" width="400px">
              <span>{{ supplyAddress.proofDesc }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="订单编号" width="400px">
              <span>{{ supplyAddress.orderNo }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="供应商名称" width="400px">
              <span>{{ supplyAddress.supplierName }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="售后类型" width="400px">
              <span>{{ supplyAddress.serviceTypeName }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="售后原因" width="400px">
              <span>{{ supplyAddress.serviceReasonName }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="售货数量" width="400px">
              <span>{{ supplyAddress.serviceNumber }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="售货金额" width="400px">
              <span>{{ supplyAddress.serviceAmountStr }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="余额" width="400px">
              <span>{{ supplyAddress.serviceBalanceStr }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="现金" width="400px">
              <span>{{ supplyAddress.serviceCashStr }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="售后状态" width="400px">
              <span>{{ supplyAddress.dataStatusName }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="申请人昵称" width="400px">
              <span>{{ supplyAddress.applyNickName }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="联系电话" width="400px">
              <span>{{ supplyAddress.applyPhone }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="申请时间" width="400px">
              <span>{{ supplyAddress.applyTime }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="处理备注" width="400px">
              <span>{{ supplyAddress.remark }}</span>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="处理人" width="400px">
              <span>{{ supplyAddress.updateName }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="处理时间" width="400px">
              <span>{{ supplyAddress.updateTime }}</span>
            </el-form-item>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="12">
            <el-form-item label="客户收货地址" width="400px">
              <span>{{ supplyAddress.customerAddressUid }}</span>
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="商家收货地址" width="400px">
              <span>{{ supplyAddress.supplierAddressUid }}</span>
            </el-form-item>
          </el-col>
        </el-row>

      <div style="font-size: 20px; margin-bottom: 30px;" >
        <div style="margin-top: 20px;" v-if="supplyAddress.itemVo ">订单明细
          <orderItem :itemList="[supplyAddress.itemVo]"></orderItem>
        </div>
      </div>

    </el-form>

  </div>
</template>

<script>
export default {
  props: ["supplyAddress"],
  data() {
    return {
      zIndex: 3000,
    }
  },
  methods: {
  },
};
</script>

<style scoped>
  .el-form-item {
    margin-bottom: 0;
  }
</style>
